{% extends "base_no_index.html" %}
{% block head %}
  <script type="text/javascript">
  //<![CDATA[
  //]]>
  </script>
{% endblock %}
{% block body %}
	{% if user %}
		{% include "postform.html" %}
	{% else %}
		<div class="warn needlogin">
			To post content, you need to <a href="{{ login_url|escape }}">sign in</a> firstly!
		</div>
	{% endif %}
{% endblock %}
{% block footer %}
{% endblock %}